package com.crm.asset.feign.client;

import com.crm.asset.dto.CustDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "cust-center", path = "api/custcenter/custs")
public interface CustFeignClient {
    @GetMapping("{custId}")
    CustDTO get(@PathVariable("custId")Long custId);
}
